<template>
	<header class="f-cb">
		<router-link tag="div" :to="{name:'index'}" class="logo fl">logo</router-link>	
		<div class="nav fl"></div>
		<div class="header_right fr">
			<router-link tag="div" :to="{name:'news'}" class="box fl">消息中心</router-link>	
			<router-link tag="div" :to="{name:'login'}" class="box fl">登录</router-link>	
			<router-link tag="div" :to="{name:'registered'}" class="box fl">注册</router-link>	
		</div>
	</header>
</template>
<style>
	header{
		padding: 10px 20px;
	}
	.logo{
		width: 100px;
		height: 30px;
		background: #cdcdcd;
		text-align: center;
		line-height: 30px;
	}
	.box{
		margin-right: 10px;
	}
</style>